<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="../vue.js"></script>
    <style>
        .active{
            background: red;
        }
    </style>
</head>
<body>
<div id="box">
<!--    {{myhtml}}-->
    <div v-html="myhtml"></div>
</div>
</body>
<script>
    var obj = {
        data() {
            return {
                myhtml:"<h1>hello</h1>"
            }
        },

    }
    var app = Vue.createApp(obj).mount("#box")
</script>
</html>